//
//  BaseRequestApi.h
//  Cycling
//
//  Created by cjg.mini on 2023/3/2.
//

#ifndef BaseRequestApi_h
#define BaseRequestApi_h

#ifdef DEBUG
//测试环境
//#define BaseUrl @"http://d-qingxingapp.bigchun.com"  // 服务器地址-- 开发环境
//#define BaseUrl @"http://d-qingxingapp.bigchun.com"  // 服务器地址--内网测试环境
#define BaseUrl @"https://d-qingxingapp.bigchun.com"    // 服务器地址--外网测试环境
//#define BaseUrl @"http://d-qingxingapp.bigchun.com"  // 服务器地址--正式环境
#else
//正式环境
#define BaseUrl @"https://d-qingxingapp.bigchun.com"     //服务器地址--正式环境

#endif

//API打印日志
#define CycRequestOpenLog 1

//**********************************//
//*           web URL模块               *//
//**********************************//
#define Cyc_WEBURL_USERINFO       @"https://d-qingxingapp.bigchun.com/#/userInfo"         // 个人信息
#define Cyc_WEBURL_SETTINGS       @"https://d-qingxingapp.bigchun.com/#/setings"         // 设置
#define Cyc_WEBURL_CHOOSECAR       @"https://d-qingxingapp.bigchun.com/#/chooseManagement"         // 选择车辆
#define Cyc_WEBURL_HELP       @"https://d-qingxingapp.bigchun.com/#/helpRobot"         // 健康见解
#define Cyc_WEBURL_RIDEHISTORY       @"https://d-qingxingapp.bigchun.com/#/driveCalendar"         // 骑行历史 https://d-qingxingapp.bigchun.com/#/driveHistory
#define Cyc_WEBURL_GROUP       @"https://d-qingxingapp.bigchun.com/#/group"         // 排行
#define Cyc_WEBURL_TALK  @"https://d-qingxingapp.bigchun.com/h5/#/pages/kefu/kefu?token=" // 客服
#define Cyc_WEBURL_XUNZHANG  @"https://d-qingxingapp.bigchun.com/#/xunzhang" // 勋章
#define Cyc_WEBURL_TRYRIDE  @"https://d-qingxingapp.bigchun.com/#/tuijian" // 试骑
#define Cyc_WEBURL_DRIVEHEALTH  @"https://d-qingxingapp.bigchun.com/#/driveHealth" // 健康见解



//**********************************//
//*           用户模块               *//
//**********************************//

#define Cyc_API_Register       @"/api/qixing/user/register"         // 注册
#define Cyc_API_Login          @"/api/qixing/user/login"            // 登录
#define Cyc_API_CompleFile     @"/api/qixing/user/profile"          // 完善资料
#define Cyc_API_ResetPassword  @"/api/qixing/user/resetpwd"         // 找回密码/修改密码
#define Cyc_API_ThirdLogin     @"/api/qixing/user/third"            // 第三方登陆
#define Cyc_API_Logout         @"/api/qixing/user/logout"           // 退出登陆
#define Cyc_API_EmailSend      @"/api/ems/send"                     // 邮箱验证码

#define Cyc_API_UserCenter      @"/api/qixing/user/center"          // 用户中心首页
#define Cyc_API_Logcancellation               @"/api/qixing/user/logcancellation"  //注销用户
#define Cyc_API_CommentTryride  @"/api/qixing/cycling/tryrideEvaluation"//评论试骑行
#define Cyc_API_MessageNum  @"/api/msg/notice"//是否有未读消息

#define Cyc_API_Test           @"/api/test/testset"  // 测试数据

//**********************************//
//*           设备相关               *//
//**********************************//
#define Cyc_API_UserDevices            @"/api/qixing/equipment/blist"//用户设备列表
#define Cyc_API_DevicesList            @"/api/qixing/equipment/list"//设备列表
#define Cyc_API_DeviceDetail            @"/api/qixing/equipment/bdetail"//设备详情
#define Cyc_API_BindingDevice            @"/api/qixing/equipment/binding"//绑定设备
#define Cyc_API_UnBindingDevice            @"/api/qixing/equipment/rename"//设备重命名
#define Cyc_API_RenameDevice            @"/api/qixing/equipment/binding"//绑定设备
#define Cyc_API_RemoveDevice            @"/api/qixing/equipment/removebundling"//移除设备
#define Cyc_API_RemoveDevice            @"/api/qixing/equipment/removebundling"//移除设备
#define Cyc_API_RemoveDevice            @"/api/qixing/equipment/removebundling"//移除设备
#define Cyc_API_RemoveDevice            @"/api/qixing/equipment/removebundling"//移除设备

//**********************************//
//*           骑行相关               *//
//**********************************//
#define Cyc_API_AcceptTryride            @"/api/qixing/cycling/acceptTryride"//接受试骑
#define Cyc_API_RefusedTryride            @"/api/qixing/cycling/refusedTryride"//拒绝试骑
#define Cyc_API_EndTryride            @"/api/qixing/cycling/endTryride"//结束试骑
#define Cyc_API_BindingDevice            @"/api/qixing/equipment/binding"//绑定设备
#define Cyc_API_ApplyTryride            @"/api/qixing/cycling/applyTryride"//申请人试骑
#define Cyc_API_ToTryride            @"/api/qixing/cycling/toTryride"//被申请人试骑
#define Cyc_API_UploadImage         @"/api/qixing/cycling/uploadimg"//上传图片

// 路线
#define Cyc_API_RouteList            @"/api/qixing/cycling/privateList"//路线列表
#define Cyc_API_RouteDetail            @"/api/qixing/cycling/privateDetail"//路线详情
#define Cyc_API_RouteAdd            @"/api/qixing/cycling/addPrivate"//添加路线
#define Cyc_API_RouteCancle            @"/api/qixing/cycling/cancelPrivate"//取消路线
#define Cyc_API_RouteComments            @"/api/qixing/cycling/commentsPrivateline"//评论私人路线
#define Cyc_API_RoutePraise            @"/api/qixing/cycling/praisePrivateline"//点赞私人路线
#define Cyc_API_RouteCancelPraise            @"/api/qixing/cycling/cancelPraiseline"//取消点赞私人路线
#define Cyc_API_RouteCollection            @"/api/qixing/cycling/collectionPrivateline"//收藏私人路线
#define Cyc_API_RouteCancelCollection         @"/api/qixing/cycling/cancelCollectionline"//取消收藏私人路线
#define Cyc_API_RouteCyclingRouteDetail     @"/api/qixing/cycling/cyclingDetail"//骑行线路详情
#define Cyc_API_RouteCommentList     @"/api/qixing/cycling/commentslist"//骑行线路评论列表
#define Cyc_API_RouteEvaluationlist  @"/api/qixing/cycling/evaluationlist"//骑行线路跟评列表

//**********************************//
//*           地图模块               *//
//**********************************//
#define Map_API_CyclingList      @"/api/qixing/cycling/list"                     // 骑行列表
#define Map_API_SearchRecord                @"/api/qixing/cycling/searchRecord"     //搜索记录
//**********************************//
//*           骑行模块               *//
//**********************************//
#define Map_Riding_API_Start        @"/api/qixing/cycling/start"            //开始骑行
#define Map_Riding_API_Suspendend   @"/api/qixing/cycling/suspendend"       //继续骑行1,暂停骑行2,结束骑行3
#define Map_Riding_API_HeartBeat    @"/api/qixing/cycling/ridingHeartbeat"  //骑行心跳轮询


//**********************************//
//*           我的模块               *//
//**********************************//
#define Mine_API_Uploadavatar         @"/api/qixing/user/uploadavatar"                     // 修改头像

//**********************************//
//*          健康数据               *//
//**********************************//
#define Health_API_Config              @"/api/qixing/user/HealthConfig" //获取需要请求健康数据的天数
#define Health_API_AddHealthData        @"/api/qixing/user/googleHealth" //将健康数据传到服务器上


#endif /* BaseRequestApi_h */
